package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.six.AccuracyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-27 14:40
 * 2.6.1轨迹还原准确率汇总统计
 */
@RestController
@RequestMapping(value ="/Accuracy")
@CrossOrigin
public class AccuracyController {
    @Autowired
    private AccuracyService accuracyService;
    @RequestMapping(value ="/summary")
    public String Accuracyinfo(@RequestBody String inputData){
        return accuracyService.accuracy(inputData);
    }
}
